<script setup>
import { useRouter } from "vue-router"

const router = useRouter()

useRouter

const login = () => {
    router.push({
        name: 'Home'
    })
}

</script>

<template>
<div>
    登录画面
    <button @click="login()">登录</button>
</div>
</template>

<style scoped>

</style>